package com.zz.services;

import com.github.pagehelper.PageInfo;
import com.zz.domain.CourseTopic;

public interface CourseTopicService {
    PageInfo<CourseTopic> getIndexCourseTopic(int type);
    //获取首页最新课程
    PageInfo<CourseTopic> getIndexNewestTopic(int limit);
    PageInfo<CourseTopic> getCourseTopicList();
    PageInfo<CourseTopic> getCourseTopicByTypeId(int typeId);
    CourseTopic getCourseById(Integer topicId);
}
